class CartInfoBeanResult {
  String? goodsName;
  String? imagesUrl;
  int? count;
  double? price;
  int? goodsId;
  bool? isCheck;

  CartInfoBeanResult(
      {this.goodsName,
      this.imagesUrl,
      this.count,
      this.price,
      this.goodsId,
      this.isCheck});

  CartInfoBeanResult.fromJson(Map<String, dynamic> json) {
    goodsId = json['goodsId'];
    goodsName = json['goodsName'];
    imagesUrl = json['imagesUrl'];
    count = json['count'];
    price = json['price'];
    isCheck = json['isCheck'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['goodsId'] = goodsId;
    data['goodsName'] = goodsName;
    data['imagesUrl'] = imagesUrl;
    data['count'] = count;
    data['price'] = price;
    data['isCheck'] = isCheck;
    return data;
  }
}
